package com.qms.tubu.adapter;

import android.content.Context;
import android.widget.BaseAdapter;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Mad on 2015/7/21.
 */
public abstract class BaseListAdapter<T> extends BaseAdapter{
    protected List<T> mList;
    protected Context mContext;
    public BaseListAdapter(Context context)
    {
        mContext=context;
        mList=new ArrayList<T>();
    }

    public List<T> getList() {
        return mList;
    }

    public void setList(List<T> list) {
        this.mList = list;
    }


    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public int getCount() {
        return 0;
    }
}
